package server.main.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * @auther MingHsZzz
 * @Date 2022/9/8/13/50
 * @description
 */


@Service("CaptchaService")
public interface CaptchaService {


    /**
     * 获得验证码
     * @return
     */
    public String getCaptcha();





    /**
     * 验证验证码是否存在
     * @param captcha
     * @return
     */
    public Boolean isLegal(String captcha);



}
